package org.example.base.websocket.model;

import java.io.Serializable;

/**
 * Description:联系人
 * Date: 2024/1/19 21:55
 */
public class ContactModel implements Serializable {
    private String id;
    /**
     * 名称
     */
    private String displayName;
    /**
     * 头像
     */
    private String avatar;
    /**
     * 通讯录索引
     */
    private String index;
    /**
     * 未读消息数
     */
    private int unread;
    /**
     * 最近一条消息的时间戳
     */
    private long lastSendTime;
    /**
     * 最近一条消息的内容
     */
    private String lastSendContent;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getDisplayName() {
        return displayName;
    }

    public void setDisplayName(String displayName) {
        this.displayName = displayName;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getIndex() {
        return index;
    }

    public void setIndex(String index) {
        this.index = index;
    }

    public int getUnread() {
        return unread;
    }

    public void setUnread(int unread) {
        this.unread = unread;
    }

    public long getLastSendTime() {
        return lastSendTime;
    }

    public void setLastSendTime(long lastSendTime) {
        this.lastSendTime = lastSendTime;
    }

    public String getLastSendContent() {
        return lastSendContent;
    }

    public void setLastSendContent(String lastSendContent) {
        this.lastSendContent = lastSendContent;
    }
}
